<?php $this->load->view('_inc/header_login')?>

<div id ="formulario">
<?php echo form_open('Login/logar');?>
        <center><table cellpadding="5">                                      
            <tr>
                    <td><?php echo form_label('Login:','id="login"');?></td>
                    <td><?php echo form_input('login','','id="login"'); ?></td>

            </tr>
            <tr>
                    <td><?php echo form_label('Senha:','id="senha"');?></td>
                    <td><?php echo form_password('senha','','id="senha"'); ?></td>
            </tr>

          </table></center>
          <br><br>
    
    <div id ="entrar">
        <?php echo form_submit('','Entrar'); ?>
        </div>
</div>

<?php echo form_fieldset_close(); ?>
<?php echo form_close(); ?>
                          
</div >

                    </div>
                    <div id = "cadastrar">
                                           <a onClick="window.location.href='<?php echo base_url();?>index.php/Login/cadastrar'" href= "#">Cadastre-se</a>
                                    </div>
            </div>
    </div>
</div>

    
<?php $this->load->view('_inc/footer_login')?>

